<html><head><title>Left</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">Left()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result$ = <font color="#3A3966"><b>Left</b></font>(String$, Length)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the specified number of characters from the left side of the string. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>String$</i></td>
<td width="90%"> 
The string to use. 

</td></tr>
<tr><td><i>Length</i></td>
<td> 
The number of characters to return. If this value exceeds the number of characters 
of the string, it will be returns the whole string. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

A string holding the specified number of characters from the left side of the string. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">Left</font>(&quot;This is Art&quot;,4) <font color="#3A3966">; Will display &quot;This&quot;</font>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="right.html">Right()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=ltrim.html>LTrim()</a> - <a href="index.html">String Index</a> - <a href="len.html">Len()</a> -><br><br>

</body></html>